<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>m3u8player</title>
		<link href="css/video-js.css" rel="stylesheet">
	</head>
	<body>
		<video id="my-video" class="video-js">
			<source src="http://live.xwei.tv/channels/njtv/video_xwzh/m3u8:250k" type='application/x-mpegURL'></source>
		</video>
		<script type="text/javascript" src="js/video.js" ></script>
		<script type="text/javascript" src="js/videojs-contrib-hls.js" ></script>
		<script>
			var player = videojs('my-video');
			player.play();
		</script>
	</body>
</html>